package com.wmh.baseservice.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wmh.baseservice.admin.pojo.AdGoods;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;
import com.wmh.baseservice.user.pojo.Goods;

import java.util.Map;

/**
 * @author wmh generator
 * @since 2021-12-27
 */
public interface AdGoodsService extends CommonService<AdGoods> {


    /**
     * 删除商品
     */
    void delete(AdGoods adGoods);

    /**
     * 用户端商品列表（包含商家和管理员商品）
     */
    IPage<Goods> goodsList(Page<Goods> goodsPage, Map<String, Object> map);
}
